package com.bbs.common.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Id;
import javax.persistence.GeneratedValue;
import java.io.Serializable;

/**
 * @Description  
 * @Author  linmengmeng
 * @Date 2020-11-09 11:36:04 
 */

@Entity
@Table ( name ="secondary_review" , schema = "")
public class SecondaryReview  implements Serializable {

	private static final long serialVersionUID =  48997321300381639L;

	@Id
   	@Column(name = "id" )
	private Long id;

   	@Column(name = "main_comment_id" )
	private Long mainCommentId;

   	@Column(name = "user_id" )
	private Long userId;

   	@Column(name = "comment_type" )
	private Long commentType;

   	@Column(name = "param_content" )
	private String paramContent;

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getMainCommentId() {
		return this.mainCommentId;
	}

	public void setMainCommentId(Long mainCommentId) {
		this.mainCommentId = mainCommentId;
	}

	public Long getUserId() {
		return this.userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public Long getCommentType() {
		return this.commentType;
	}

	public void setCommentType(Long commentType) {
		this.commentType = commentType;
	}

	public String getParamContent() {
		return this.paramContent;
	}

	public void setParamContent(String paramContent) {
		this.paramContent = paramContent;
	}

	@Override
	public String toString() {
		return "{" +
					"id='" + id + '\'' +
					"mainCommentId='" + mainCommentId + '\'' +
					"userId='" + userId + '\'' +
					"commentType='" + commentType + '\'' +
					"paramContent='" + paramContent + '\'' +
				'}';
	}

}
